package com.vf.admin.platform.service;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.platform.dto.OrgUserDto;
import com.vf.admin.platform.entity.User;
import java.util.List;
import java.util.Map;

public interface UserService  {

    /**
     * 保存或者更新
     */
    public void save(User user);

    /**
     * 详情
     * @param id
     * @return
     */
    public User get(Integer id);

    //列表查询
    public List<User> findList(Map<String,Object> paraMap, SplitPageBean splitPage);

    /**
     * 删除
     */
    public void del(int id);


    /**
     * 获取工会信息
     * @param paraMap
     * @param splitPage
     * @return
     */
    List<OrgUserDto> getOrgUserDtoList(Map<String,Object> paraMap,String time, SplitPageBean splitPage);
}
